import Vue from 'vue'
import VueRouter from 'vue-router'
import search from '../views/search.vue';

Vue.use(VueRouter)

const routes = [
  {
    path:"/",
    name:"search",
    component:search,
  },{
    path:"/list",
    name:"list",
    component:()=>import ("../views/list.vue")
  }
 
]

const router = new VueRouter({
  routes
})

export default router
